<?php
// +----------------------------------------------------------------------
// | OneThink [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.onethink.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: 麦当苗儿 <zuojiazi@vip.qq.com> <http://www.zjzit.cn>
// +----------------------------------------------------------------------

namespace Help\Widget;

use Think\Action;

/**
 * Class EvaluateWidget  评价
 * @package Help\Widget
 * @author:xjw129xjt xjt@ourstu.com
 */
class EvaluateWidget extends Action
{


    public function evaluate($help_id = 0,$to_uid=0)
    {
        $var['unid'] = substr(strtoupper(md5(uniqid(mt_rand(), true))), 0, 8);
        $var['fileSizeLimit'] = floor(8 * 1024) . 'KB';
        $this->assign($var);
        $this->assign('help_id', $help_id);
        $this->assign('to_uid', $to_uid);
        $this->display('Widget/evaluate');

    }


}
